package com.qinyu.treehole.tool;

/**
 * 定义关于token的一些常量
 */
public class UserTool {
    public final static String USER_TOKEN_EXCEPTION = "用户认证异常！";
    public final static String USER_TOKEN_NO_EXIST = "用户token不存在！";
    public final static String USER_TOKEN_TIMEOUT = "用户token超时！";

    public final static String USER_LOGIN_SUCCESS = "用户登录成功！";
    public final static String USER_LOGIN_FAIL = "用户名或密码错误！";

    public final static String USER_EXIT_LOGIN_SUCCESS = "用户退出登录成功！";

    public final static String USER_QUERY_SUCCESS = "用户查询成功！";
    public final static String USER_NO_EXIST = "用户不存在！";

    public final static String USER_REGISTER_SUCCESS = "用户注册成功！";
    public final static String USER_REGISTER_FAIL = "用户注册失败！";

    public final static String USER_UPDATE_SUCCESS = "用户更新信息成功！";
    public final static String USER_UPDATE_FAIL = "用户更新信息失败！";


    public final static String USER_ACTIVE_SUCCESS = "用户激活成功！";
    public final static String USER_ACTIVE_FAIL = "激活码已过期！请重试！";

    public final static String USER_NAME_EXIST = "用户名已存在！";
    public final static String USER_EMAIL_EXIST = "用户邮箱已存在！";

    public final static String USER_EMAIL_SEND_SUCCESS = "已发送用户邮箱！";
    public final static String USER_EMAIL_SEND_FAIL = "发送用户邮箱失败！";

    public final static String USER_DELETE_COMMENT_SUCCESS = "用户删除评论成功！";
    public final static String USER_DELETE_COMMENT_FAIL = "用户无权限删除此评论！";

    public final static String USER_ADD_RELATION_FAIL = "用户关注失败！";
    public final static String USER_ADD_RELATION_SUCCESS = "用户关注成功！";

    public final static String USER_DELETE_RELATION_SUCCESS = "用户取关成功！";

    public final static String USER_INVISIBLE_NAME = "匿名用户";
    public final static String USER_INVISIBLE_AVATAR = "/upload/avatar/niming.png";

    public final static String ACTIVE_NAME = "#active#";
    public final static String FANS_NAME = "#fans#";
    public final static String FOLLOW_NAME = "#follows#";

}
